package com.oalam.bookstore.domain.shopping;

/**
 * This class maintains a reference to a Component object and defines an interface
 * that conforms to Component's interface.
 * @version 1.0
 * @created 04-ao�t-2011 13:57:35
 */
public abstract class Discount implements AbstractPrice {

    protected AbstractPrice priceDecorated;
    protected double amount;

    public Discount(AbstractPrice price, double amount) {
        this.priceDecorated = price;
        this.amount = amount;
    }

}